package com.eet.elasticsearch.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 测试用户类
 *
 * @author zheng.zhang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String name;
    private Integer age;
    private Date birthday;
    private String remark;
    private String[] tags;

    public User(String name, int age) {
        this.age = age;
        this.name = name;
    }
}
